services.restic.backups.<name>.rcloneConfig
Configuration for the rclone remote being used for backup.
See the remote's specific options under rclone's docs at
https://rclone.org/docs/. When specifying
option names, use the "config" name specified in the docs.
For example, to set --b2-hard-delete for a B2
remote, use hard_delete = true in the
attribute set.
Warning: Secrets set in here will be world-readable in the Nix
store! Consider using the rcloneConfigFile
option instead to specify secret values separately. Note that
options set here will override those set in the config file.
- Type
null or (attribute set of (string or boolean))- Default
null- Example
{ account = "xxx"; hard_delete = true; key = "xxx"; type = "b2"; }- Declared
- <nixpkgs/nixos/modules/services/backup/restic.nix>